﻿using UnityEngine;
using System.Collections;

public class ExpansionSceneSwipeTrigger : MonoBehaviour {
	public WorldExtensionBattleStageScene manager;

	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
	
	}

	public void OnDrag(Vector2 delta)
	{
		if( delta.x < 0 )
			manager.MoveToStagePanel(true);
		else
			manager.MoveToStagePanel(false);
	}
}
